<template>
  <div id="app">
   <Header></Header>
    <router-view></router-view>
    <Footer v-show="!$route.meta.hideFooter"></Footer>
  </div>
</template>

<script>
import Header from "./components/header"
import Footer from "./components/Footer"
import {mapActions} from "vuex"
export default {
  name: 'App',
  methods:{
    ...mapActions(["getCategoryList","getBanners","getFloors"])
  },
  created(){
    this.getCategoryList(),
    this.getBanners(),
    this.getFloors()
  },
  components:  
    {Header,Footer} 
  }
</script>
<style>

</style>
